/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package factoryMode.factoryMetod;

/**
 *  具体工厂
 * @author root
 */
public class AnimalFactory implements ICreateFactory{

    @Override
    public ICreate createInstance() {
        return new Animal();
    }
    
}
